const {
	myRequest
} = require('@/utils/request.js')
module.exports = {
	// 热门查询词API
	queryHotSearchText: (params) => myRequest({
		url: "ydylappCommon/queryHotSearchText",
		methods: 'POST',
		auth: false,
		data: params
	}),
	//个人访问他人主页
	insertBrowsingHistory: (params) => myRequest({
		url: "y1001Usr/insertBrowsingHistory",
		methods: 'POST',
		auth: false,
		data: params
	}),
	//企业访问他人主页
	insertComBrowsingHistory: (params) => myRequest({
		url: "y1001/insertComBrowsingHistory",
		methods: 'POST',
		auth: false,
		data: params
	}),
	// 个人/公司 总浏览量、今日浏览器、分享次数查询 API
	queryBrowerQty: (params) => myRequest({
		url: "ydylappCommon/queryBrowerQty",
		methods: 'POST',
		auth: false,
		data: params
	}),
	// 个人/公司分享名片成功时调用API
	saveShareNumBySucShare: (params) => myRequest({
		url: "ydylappCommon/saveShareNumBySucShare",
		methods: 'POST',
		auth: false,
		data: params
	}),
	//获取行业类别
	getPortalType: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/getPortalType",
		methods: 'POST',
		auth: false,
		data: params,
		interception: true
	}),
	//获取行业城市
	getPortalDistrict: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/getPortalDistrict",
		methods: 'POST',
		auth: false,
		data: params,
		interception: true
	}),
}
